Rail Availability Modifiers

A number of options can be added to a Rail Availability request to narrow the search results for Rail segments based on Search, Pricing, and Leg modifiers.

See Low Fare Shopping Modifiers for modifiers supported specifically for Air Segments.

Note: The Low Fare Shopping request is used for both air and rail searches. Some modifiers that are available in the Low Fare Shopping request do not apply to Rail Availability and are ignored in the Rail Availability request.

Rail Availability Search Modifiers

Search Modifier

Description

MaxChanges

Direction

Allows journeys to be requested by Journey Type, which includes:

  • Search by direction (inbound, outbound, or both directions).
  • Specifying non-stop or direct journeys.
  • The permitted number of stops in a journey.

Class

Cabin Class can be specified for all legs in a journey using RailSearchModfiers @Class. Cabin class can also be specified for an individual leg using RailLegModifiers @Class.

PreferredSuppliers

Searches for a preferred rail supplier (distributor).

MaxSolutions

The maximum number of solutions to return.

Rail Availability Pricing Modifiers

Pricing Modifier

Description

ProhibitNonRefundableFares

 

Limits responses to only those fares that can be refunded.

Currently, SNCF (2C) is the only supplier that supports refundable rail fares for Rail Availability searches.

If non-refundable fares are prohibited for a supplier other than SNCF that does not support this fare modifier, Universal API ignores the modifiers and returns a warning.

ProhibitNonExchangeableFares

Limits responses to only those fares that can be exchanged.

Currently, SNCF (2C) is the only supplier that supports exchangeable rail fares for Rail Availability searches.

If non-exchangeable fares are prohibited for a supplier other than SNCF that does not support this fare modifier, Universal API ignores the modifiers and returns a warning.

CurrencyType

Three-letter currency code
RailSearchType Rail Search Type options. Note: Supported by NTV/VF only for “All Fares” “Lowest Fare” and “One Fare Per Class”.

DiscountCard

The associated traveler discount card applied to the fare.

Multiple Discount Codes can be sent in the request, and a request can include both discounted and non-discounted passengers.

  • You can apply multiple discount codes per passenger for rail reservations. Release 17.3
  • Multiple @DiscountCards per passenger can be applied for Low Fare Shop, Rail Availability, Rail Exchange Quote, Rail Exchange, and Rail Booking.
  • Although this functionality is not vendor specific, only SNCF and BeNe support multiple discounts per passenger as of July 3, 2017.

Rail Availability Leg Modifiers

Leg Modifier

Description

Class

Cabin Class can also be specified for an individual leg using RailLegModifiers @Class. Cabin class can can be specified for all legs in a journey using RailSearchModfiers @Class.

PermittedConnectionPoints

ProhibitedConnectionPoints

Connecting Cities are also known as Via/Not Via routes. Specifies permitted or prohibited IATA city and airport codes as connection points.

Unsupported Modifiers

The following modifiers are supported for Rail segments through the Low Fare Shopping search, but are not supported for Rail Availability searches:

The following modifiers are not supported for either Rail Availability Search or Low Fare Shopping: